package com.suge.order.manager;

import java.util.List;

import com.suge.common.query.order.SmsOrderQueryDO;
import com.suge.common.result.order.OrderResult;
import com.suge.order.dao.dataobject.SmsOrderDO;

public interface SmsOrderManager {

	public List<SmsOrderDO> getSmsOrderByQuery(SmsOrderQueryDO smsOrderQueryDO);
	
	public OrderResult getSmsOrderListByUserId(SmsOrderQueryDO params);
	
	/**
	 * 
	 * @param orderId
	 * @return
	 */
	public SmsOrderDO getSmsOrderByOrderId(long orderId);
	
	/**
	 * 
	 * @param userId
	 * @return
	 */
	public OrderResult getSmsOrderListByUserId(long userId);
	
	/**
	 * 
	 * @param userNick
	 * @return
	 */
	public OrderResult getSmsOrderListByUserNick(String userNick);
	
	/**
	 * 
	 * @param smsOrderDO
	 * @return
	 */
	public  OrderResult  updateSmsOrderStatus(SmsOrderDO smsOrderDO);
	
	/**
	 * 
	 * @param smsOrderDO
	 * @return
	 */
	public  OrderResult  updateSmsOrderInfo(SmsOrderDO smsOrderDO);
	
	/**
	 * 
	 * @param smsOrderDO
	 * @return
	 */
	public  OrderResult  insertSmsOrder(SmsOrderDO smsOrderDO);

}
